package com.model;

import java.sql.Date;


public class Student {

    private Integer id;

    private String stuName;

    private String stuGender;

    private Date stuBirthday;

    private String stuAccount;

    private String stuPassword;


    @Override
    public String toString() {
        return "Student{" +
                "id=" + id +
                ", stuName='" + stuName + '\'' +
                ", stuGender='" + stuGender + '\'' +
                ", stuBirthday=" + stuBirthday +
                ", stuAccount='" + stuAccount + '\'' +
                ", stuPassword='" + stuPassword + '\'' +
                '}';
    }

    public Student() {}

    public Student(Integer id, String stuName, String stuGender, Date stuBirthday, String stuAccount, String stuPassword) {
        this.id = id;
        this.stuName = stuName;
        this.stuGender = stuGender;
        this.stuBirthday = stuBirthday;
        this.stuAccount = stuAccount;
        this.stuPassword = stuPassword;
    }

    public Integer getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public String getStuName() {
        return stuName;
    }

    public void setStuName(String stuName) {
        this.stuName = stuName;
    }

    public String getStuGender() {
        return stuGender;
    }

    public void setStuGender(String stuGender) {
        this.stuGender = stuGender;
    }

    public Date getStuBirthday() {
        return stuBirthday;
    }

    public void setStuBirthday(Date stuBirthday) {
        this.stuBirthday = stuBirthday;
    }

    public String getStuAccount() {
        return stuAccount;
    }

    public void setStuAccount(String stuAccount) {
        this.stuAccount = stuAccount;
    }

    public String getStuPassword() {
        return stuPassword;
    }

    public void setStuPassword(String stuPassword) {
        this.stuPassword = stuPassword;
    }

}
